<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'add-eixo-form',
	'enableAjaxValidation'=>true,
)); ?>

	<p class="note">Campos marcados com <span class="required">*</span> são obrigatórios.</p>

        <div class="row">
            <?php echo $form->labelEx($model,'id_eixo'); ?>
            <?php echo $form->dropDownList($model,'id_eixo',CHtml::listData(Eixo::model()->findAll(), 'id_eixo', 'nome_eixo'),array('prompt'=>'== SELECIONE O EIXO ==')); ?>
            <?php echo $form->error($model,'id_eixo'); ?>
        </div>
        
        <?php echo $form->hiddenField($model, 'id_questionario'); ?>
        
	<div class="row buttons">
		<?php echo CHtml::submitButton('Adicionar Eixo'); ?>
	</div>
        
<?php $this->endWidget(); ?>

</div><!-- form -->